package com.blb.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class WelComeController {

	@RequestMapping("")
	public String test(){
		return "login";
	}
	
	@RequestMapping("{modules}Page")
	public String page(@PathVariable("modules")String modeles){
		return modeles;
	}
	
	@RequestMapping("{modules}/{methos}Page")
	public String page2(@PathVariable("modules") String modeles, @PathVariable("methos")String methos){
		return modeles + "/" + methos;
	}
}
